
<div id="<?php echo $_CTL_ID; ?>" class="box">
  <h4><span class="right">[<a href="<?php echo $_BASE_DIR ;?>bbs/">访问论坛</a>]</span><?php echo h($label); ?></h4>

  <ul <?php if ($icons): ?>class="icons"<?php endif; ?>>
    <?php foreach ($threads as $thread): $subject = htmlspecialchars_decode($thread->subject); ?>

    <li><a href="<?php echo str_replace('%tid%', $thread->tid, $thread_view_url); ?>" title="<?php echo h($subject); ?>"><?php echo h(mb_strimwidth($subject, 0, $width, '...', 'utf8')); ?></a></li>

    <?php endforeach ?>
  </ul>

</div>

